import json


class queryItem:
    def query(self):
        import requests



        with open('cookie.json', 'r', encoding='utf-8') as f:
            headers = json.load(f)

        data = {
            '_search': 'true',
            'nd': '1718615519131',
            'rows': '1000',
            'page': '1',
            'sidx': '',
            'sord': 'asc',
            'name': '',
            'orgCode': '52033020170320131510002391',
            'regionCode': '',
            'type': '',
        }

        response = requests.post(
            'http://59.215.206.188/sxgl/mng/shouquan/itemsq/itemQueryForNotSq',

            headers=headers,
            data=data,
        )
        return response.json()

print(queryItem().query())

